package com.byb.server.service.mapper.Wc;

import com.byb.server.domain.WcIsurer;
import com.byb.server.service.dto.Wc.InsuranceForWcDTO;
import com.byb.server.service.dto.Wc.vm.InsuranceVM;
import com.byb.server.service.dto.WcIsurerDTO;
import com.byb.server.service.mapper.EntityMapper;
import org.mapstruct.Mapper;
/**
 * Mapper for the entity WcIsurer and its DTO WcIsurerDTO.
 */
@Mapper(componentModel = "spring", uses = {})
public interface InsuranceForWcMapper extends EntityMapper<InsuranceVM, WcIsurer> {



    default WcIsurer fromId(Long id) {
        if (id == null) {
            return null;
        }
        WcIsurer wcIsurer = new WcIsurer();
        wcIsurer.setId(id);
        return wcIsurer;
    }
}
